package com.fowo.api.costAccounting.model.carry;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/** 结转配置子表 导入导出辅助模型 */
@Data
public class CarryFcorwardConfigProductExcelPo {

  @ExcelProperty(value = "主表id")
  private String carryFcorwardConfigIdName;

  @ExcelIgnore
  @ExcelProperty(value = "主表id")
  private Long carryFcorwardConfigId;

  @ExcelProperty(value = "出入库类型1 入 2 出")
  private Integer type;

  @Size(max = 5000, message = "查询sql长度不能超过20")
  @ExcelProperty(value = "查询sql")
  private String selectSql;
}
